<#escape x as x?html>
<div class="row">
    <div class="col-md-12">
        <div class="box box-solid box-fusion no-shadow no-border">
            <div class="box-header">
                <div class="col-md-7">
                    <h3 class="box-title">&nbsp;</h3>
                </div>
                <div class="box-tools">
                    <@y.htmlFuzzySearchListForm insert="false"></@y.htmlFuzzySearchListForm>
                </div>
            </div><!-- /.box-header -->
            <div class="box-body table-responsive no-padding">
                <table class="table table-inner-bordered table-hover"
                       data-form-name="应用日志">
                    <thead>
                    <th class="col-md-2 col-lg-2">
                        应用名称
                    </th>
                    <th class="col-md-1 col-lg-1">
                        客户端IP
                    </th>
                    <th class="col-md-1 col-lg-1">
                        用户名称
                    </th>
                    <th class="col-md-1 col-lg-1">
                        日志类型
                    </th>
                    <th class="col-md-2 col-lg-2">
                        产生时间
                    </th>
                    <th class="col-md-2 col-lg-2">
                        访问地址
                    </th>
                    <th class="col-md-2 col-lg-2">
                        花费时间(MS)
                    </th>
                    <th class="col-md-2 col-lg-2">
                        数据大小(KB)
                    </th>

                    </thead>
                    <tbody>
                        <#if (page.entities??)&&(page.entities?size>0)>
                            <#list page.entities as record>
                            <tr record-id='${record.id}'>
                                <td>${record.resName!''}</td>
                                <td>${record.clientIp!''}</td>
                                <td>${record.userName!''}</td>
                                <td>${record.logTypeName!''}</td>
                                <td>${(record.occurTime?string("yyyy-MM-dd HH:mm:ss"))!}</td>
                                <td title="${record.uri!''}">${record.tempUri!''}</td>
                                <td>${(record.callCostTime)!}</td>
                                <td>${(record.dataSize/1024)!}</td>
                            </tr>
                            </#list>
                        </#if>
                    </tbody>
                </table>
            </div><!-- /.box-body -->
            <div class="box-footer no-border clearfix">
                <@y.htmlPaginationOverview/>
            </div>
        </div><!-- /.box -->
    </div><!-- /.col -->
</div><!-- /.row -->
    <@y.htmlModal type="save"/>
<script>
    context.call([
        "list"
    ], function (list) {
        list.initFuzzySearchList("/sys/proxyLog");
    })
</script>
</#escape>